package com.ruoyi.project.wx.service.impl;

import com.ruoyi.project.wx.dao.OrderShippingDao;
import com.ruoyi.project.wx.domain.OrderShippingDO;
import com.ruoyi.project.wx.service.OrderShippingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class OrderShippingServiceImpl implements OrderShippingService {
	@Autowired
	private OrderShippingDao orderShippingDao;
	
	@Override
	public OrderShippingDO get(String id){
		return orderShippingDao.get(id);
	}
	
	@Override
	public List<OrderShippingDO> list(Map<String, Object> map){
		return orderShippingDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return orderShippingDao.count(map);
	}
	
	@Override
	public int save(OrderShippingDO orderShipping){
		return orderShippingDao.save(orderShipping);
	}
	
	@Override
	public int update(OrderShippingDO orderShipping){
		return orderShippingDao.update(orderShipping);
	}
	
	@Override
	public int remove(String id){
		return orderShippingDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return orderShippingDao.batchRemove(ids);
	}

	@Override
	public OrderShippingDO getByOrderId(String OrderId) {
		return orderShippingDao.getByOrderId(OrderId);
	}
	
}
